user = ''
password = ''
database = ''
host = 'localhost'
port = '3306'
SQLALCHEMY_DATABASE_URI = "mysql+pymysql://{}:{}@{}:{}/{}?".format(user, password, host, port, database)
charset = "utf8"
# 设置sqlalchemy自动更跟踪数据库
SQLALCHEMY_TRACK_MODIFICATIONS = False
# 查询时会显示原始SQL语句
SQLALCHEMY_ECHO = False
# 禁止自动提交数据处理
SQLALCHEMY_COMMIT_ON_TEARDOWN = False
